package com.hsw.habit.model;

public class TaskHelper {
    public static String formatPhone(String phone) {
        if (phone.length() < 7) {
            return "";
        }
        return phone.substring(0, 3) + "****" + phone.substring(phone.length() - 4);
    }
}
